-- GENERATED SPELL FOR [Dread Swoop] --


function spell0_4692(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4692', 2302, 1)
end

function Sorts_4692(pUnit, Event)
local choix_sorts_4692 = math.random(0, 0)
if choix_sorts_4692 == 0 then
pUnit:RegisterEvent('spell0_4692', 1, 1)
end
end

function mob4692_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4692', math.random(1500, 3000), 1)
end

function mob4692_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4692_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4692_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4692, 1, 'mob4692_Action')
RegisterUnitEvent(4692, 2, 'mob4692_Leave')
RegisterUnitEvent(4692, 3, 'mob4692_Kill')
RegisterUnitEvent(4692, 4, 'mob4692_Die')
